package com.dom.api.stor;

import com.dom.common.model.vo.stor.*;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@RequestMapping("/invo/stor")
public interface StorStockoutApi {
    /**
     * 查询入库单-分页查询
     * @param request
     * @return
     */
    @RequestMapping(value = "/findStockoutPager", method = RequestMethod.POST)
    S039A findStockoutPager(@RequestBody S039R request);

    /**
     * 录入采购单
     * @param request
     * @return
     */
    @RequestMapping(value = "/addStockoutBill", method = RequestMethod.POST)
    S030A addStockoutBill(@RequestBody S030R request);

    /**
     * 查询采购但明细
     * @param request
     * @return
     */
    @RequestMapping(value = "/findStockoutDetailList", method = RequestMethod.POST)
    S049A findStockoutDetailList(@RequestBody S049R request);

    @RequestMapping(value = "/editStockoutBill", method = RequestMethod.POST)
    S032A editStockoutBill(@RequestBody S032R request);

    @RequestMapping(value = "/delStockoutBill", method = RequestMethod.POST)
    S031A delStockoutBill(@RequestBody S031R request);
}
